package com.edu.entity;

import lombok.Data;

import java.sql.Timestamp;

/**
 * @author ZCN
 * @version 1.0
 * @date 2021/11/23 15:34
 */
@Data
public class Order {
   private Integer  id;
   private String   ordersn;
   private Integer  status;
   // 实际是时间类型Timestamp
   private Object createtime;
   private Object  closetime;
   private Object   paytime;
   private Object  successtime;
   private String  payfoodid;
   private String ordername;
   private Integer price;
   private Integer userid;
   // 以下为冗余字段
   // 购买者
   private String username;
   // 购买菜品
   private String foodname;
}
